package com.bdqn.entity.academic;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("ac_school")
public class School implements Serializable {

    @TableId(type = IdType.ID_WORKER_STR)
    private String id;
    private String name;
    private Integer sortNumber;

    @TableField(exist = false)
    private List<Curriculum> children;
}
